<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>伪类</title>
    <style>
     p{

            width: 200px;
            height: 200px;
            background-color: #B65D56;
            margin: 0 auto;
        }
        div:hover p{
            background-color: aqua;
        }

    </style>
</head>
<body>
<div>
    <p>1</p>
</div>
</body>
</html>